home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 2
/
Aminet AMIGA CDROM (1994)(Walnut Creek)[Feb 1994][W.O. 44790-1].iso
/
Aminet
/
os20
/
wb
/
FileView13.lha
/
FileView.doc
< prev
next >
Wrap
Text File
|
1993-05-17
|
5KB
|
121 lines
NAME
FileView - AppIcon link to file viewer. WB2.0 and above only.
SYSNOPSIS
FileView AppName/S
DESCRIPTION
Fileview sets up an AppIcon on the Workbench window. When a file is
dropped onto this icon it will attempt to load it into whatever file
viewer is specified by the user.
STARTING
CLI - To run the program from CLI, use the command
run <NIL: >NIL: FileView 'AppName'
where 'AppName' is the name that you want to appear with the
AppIcon.
WorkBench - The easiest way is to put the file in the WBStartup
drawer. The AppIcon will get it's name from the name of
the program.
NOTES:
For both of the above options for starting, the program will
try to find an attached .info file to use as the AppIcon image.
If this is not found, it will resort to the default icon. At
current the supplied icon is not at all pretty, due to a huge
lack of artistic talent on my part. Any better icons should be
sent to me at the address below, and if I like them they will
be put in the next release and the artist credited accordingly.
Also, the file viewer that is used is decided in one of two
ways. Firstly, the progran looks for an environmental variable
called TextViewer. If this is set, the program will try to use
the viewer names within. If the variable is not set, it will
try to use the default of SYS:Utilities/More. The textviewer
can be set by putting the following line in your startup:
setenv TextViewer 'ViewerName'
where 'ViewerName' is the name AND FULL PATH of the viewer that
you wish to use eg/ C:PPMore or SYS:Utilities/MultiView.
Alternatively, do the 'setenv' command from a shell and then
type:
copy Env:TextViewer EnvArc:
This will then have set the variable in a more 'permanent' way,
and to change it you will have to do the same steps again.
Alternatively, you can set the viewer of your choice from the
interface within the viewer itself. To get to this, double
click on the AppIcon. The 'Use' button will save your choice
to Env:, and 'Save' will save it to both Env: and EnvArc:.
The close gadget will close the window, ignoring any changes
made but not quitting the program.
OPTIONS
AppName/S This is the name that you wish the viewer icon to have
when it appears on the Workbench screen. If running from Workbench,
it will inherit the name of the program itself.
FILES
FileView - The program itself
FileView.info - An icon file for the AppIcon
FileView.doc - This documentation file...
FileView.doc.info - ... and it's icon
FileView.guide - The AmigaGuide documentation file...
FileView.guide.info - ... and it's icon
NOTES
This command has a WB2.04 version string which can be viewed using
version FileView
BUGS
None known, though not tested under all situations (tested under
kickstarts 37.173 and 39.106).
AUTHORS
V1.0 written by James McDonald and Mark McPherson
11th January 1993.
V1.1 updated by James McDonald.
Added requester for confirmation of quitting.
V1.2 updated by James McDonald.
Fixed a bug in the default choice of file viewer, and also solved
a problem with the program not picking the default AppIcon when it
could not find it's own icon.
Added the AmigaGuide documentation to the distribution.
V 1.3 updated by Janes McDonald.
Added a better interface to the system, and tidied it up a bit.
_Really_ fixed the bug with the AppIcon problem.
Versions 1.0 - 1.3 written in C.
SEE ALSO
None.
DISTRIBUTION
All code is copyright 1993 Mark McPherson and James McDonald. It is
freely distributable and can be copied freely. It may not be modified
and I ask that this documentation file accompanies the main program.
It must not be sold or included on any disk that will be sold
commercially, without my permission (James McDonald). Commodore has
this permission already. Please send any comments, bug reports, ideas
for enhancements etc to me at:
James McDonald
5 Rotherfield Avenue
Bexhill-On-Sea
East Sussex
England
TN40 1SY
or Internet: jgm@dcs.ed.ac.uk (James McDonald)
msm@ukc.ac.uk (Mark McPherson)
Written and (C) 1993 by James McDonald, Mark McPherson.